package daytrader.lib;

import daytrader.types.Stock;
import daytrader.types.Sector;

public interface LibDataInterface {
	public boolean openStockFeed(String stockName);
	public boolean openStockFeed(Stock currStock);
	public String getCurrStockFeed();

	public double open(int day);
	public double close(int day);
	public double high(int day);
	public double low(int day);
	public double volume(int day);
	public double open(int day, String stockName);
	public double close(int day, String stockName);
	public double high(int day, String stockName);
	public double low(int day, String stockName);
	public double volume(int day, String stockName);
        public double open();
	public double close();
	public double high();
	public double low();
	public double volume();
	public double dayopen();
	public double dayclose();
	public double dayhigh();
	public double daylow();
	public double dayvolume();
	public Sector getSector(Stock stock);
	public Sector getSector(String stockName);
	public String[] listStockNames();	
}
